﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Diagnostics.CodeAnalysis;

namespace CoolEngine.Gui
{
    public class Panel:GuiControl
    {
        public Panel(CoolGame game, GuiRenderer renderer)
            : base(game, renderer)
        {
            BackgroundColour = Color.LightGray;
        }
        public Panel(CoolGame game, GuiRenderer renderer, GuiControl parent)
            : base(game, renderer, parent)
        {
            BackgroundColour = Color.LightGray;
        }
        //public Panel()
        //{
        //    BackgroundColour = Color.LightGray;
        //}
        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Colour", Justification = "Learn to spell.")]
        public Color BackgroundColour { get; set; }

    }
}
